package org.tc.client.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;
import org.tc.client.entity.Shoppingcar;

public interface ShoppingcarMapper {
    int deleteShopCarById(Integer id);

    int insertShopCar(Shoppingcar shoppingcar);

    List<Shoppingcar> selectShopCarByUserId(@Param("userid") Integer userid);

    int updateByPrimaryKey(Shoppingcar record);

    List<Shoppingcar> getShopByState(Shoppingcar shoppingcar);

    int updShopState(Shoppingcar shoppingcar);
}